package com.gree.common.service;

import com.gree.common.entity.ReturnVo;
import com.gree.common.entity.SysApiRoleVo;
import org.nutz.dao.entity.Record;

import java.util.List;

public interface SysApiRoleService {

    List<SysApiRoleVo> querySysApiRole(SysApiRoleVo sysApiRoleVo);

    List<Record> querySysApiUser(Long apiId);

    ReturnVo insertSysApiRole(List<SysApiRoleVo> sysApiRoleVos);

    ReturnVo updateSysApiRole(List<SysApiRoleVo> sysApiRoleVos);

    void clearCache();

}
